<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Bid-Market</title>

<!-- Bootstrap core CSS -->
<link rel="stylesheet"
	href="//netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css">
<script src="http://code.jquery.com/jquery-1.10.2.min.js"></script>
<script
	src="//netdna.bootstrapcdn.com/bootstrap/3.0.3/js/bootstrap.min.js"></script>

<!-- Add custom CSS here -->
<style>
#searchText {
	/* Rounded Corners */
	border-radius: 17px;
	-webkit-border-radius: 17px;
	-moz-border-radius: 17px;
}
</style>

</head>
<body>

	<nav class="navbar navbar-default">
	<div class="container">
		<div class="navbar-header">
			<a class="navbar-brand" href="#">Bid-Market</a>
		</div>

		<form id="search-form" class="navbar-form navbar-left" role="search" method="POST" action="/BidMarket/SearchController"
			style="margin-top: 8px;">
			<div class="form-group">
				<input id="searchWord" name="searchWord" type="text" class="form-control"
					placeholder="Search" style="width: 400px; font-size: 16px;">
			</div>
			<button type="submit" class="btn btn-default">Search</button>
		</form>


		<ul class="nav navbar-nav navbar-right">
			<%
				if (session.getAttribute("user") == null) {
			%>
			<li><a href="/BidMarket/login.jsp">Login</a></li>
			<li><a href="/BidMarket/signup.jsp">Sign Up</a></li>
			<%
				} else {
			%>
			<li><a  href="/BidMarket/HomeController">Home</a></li>
			<li><a  href="/BidMarket/addProduct.jsp">Add Product</a></li>			
			<li><a  href="/BidMarket/InventController">Inventory</a></li>
			<li><a  href="/BidMarket/LogoutController">Logout</a></li>
			<%
				}
			%>
		</ul>
	</div>
	</nav>
</body>
</html>
